﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpPhoto.aspx.cs" Inherits="SAD_Assignment1.Member.UpPhoto" MasterPageFile="~/Shared/Site1.Master"%>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <title>Up Photo</title>
</asp:Content>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <%@ Register src="~/piczardUserControls/simpleImageUploadUserControl/SimpleImageUpload.ascx" tagname="SimpleImageUpload" tagprefix="ccPiczardUC" %>
    <div class="container-title">Đăng ảnh</div>    
        <asp:Table ID="Table1" runat="server" CssClass="upphoto-table" CellPadding="5">

        <asp:TableRow>
            <asp:TableCell CssClass="first"><span class="required">*</span>Tiêu đề:</asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtTitle" runat="server" Text="" CssClass="form-control"
                     Width="100%" required="required" />                                
            </asp:TableCell>
        </asp:TableRow>        
        <asp:TableRow>
            <asp:TableCell ColumnSpan="2">
                <ccPiczardUC:SimpleImageUpload ID="ImageUpload1" runat="server" />
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>            
            <asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
                <asp:Button ID="upPhotoBtn" Text="Đăng hình ảnh" CssClass="btn btn-info" 
                    runat="server" OnCommand="upPhotoBtn_Command"/>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>

</asp:Content>